<?php
/*
 *  A Part of snock project
 *   Author king-of-war
 * Last modified 2009-4-4
 */
/*
 *  get template
 */
 $root_path= './';
include_once $root_path . 'admin/class/cfg.class.php';
$cfg=new cfg($root_path);
$temp=$cfg->xml_read('temp');
  
 
 /*
 * smarty config start
 */
 
include_once   "includes/smarty/smarty.class.php" ;
$smarty= new smarty();
$smarty->config_dir="includes/smarty/config_file.class.php";
$smarty->caching=false;
$smarty->template_dir='./templates/'.$temp.'/';
$smarty->compile_dir="./templates_c";
$smarty->cache_dir="./cache";
$smarty->left_delimiter="{";
$smarty->right_delimiter="}";
/*
 * smarty config end
 */
?>